Skip to content

Conversation

@kkoteeswaran
Copy link
Contributor

Backporting #786 to branch-0.7

Task List:

  • Add options to DeltaSharingOptions
  • Unit tests for DeltaSharingOptions
  • DeltaSharingProfile from DeltaSharingOptions
  • Unit tests for DeltaSharingProfileProvider
  • Conditional logic to create from options
  • Unit tests for conditional logic
  • Integration tests
  • Include Examples and Documentation

Examples

// Bearer Token
val df = spark.read.format("deltaSharing")
  .option("shareCredentialsVersion", "1")
  .option("endpoint", "https://example.com/delta-sharing")
  .option("bearerToken", "foobar")
  .option("expirationTime", "2022-01-01T00:00:00Z")
  .load("<share-name>.<schema-name>.<table-name>")
  .limit(10)

@kkoteeswaran
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant